package com.ruoyi.erp.service;

import java.util.List;
import com.ruoyi.erp.domain.SettleReceivable;

/**
 * 外派收款明细Service接口
 * 
 * @author sauger
 * @date 2022-03-30
 */
public interface ISettleReceivableService 
{
    /**
     * 查询外派收款明细
     * 
     * @param id 外派收款明细主键
     * @return 外派收款明细
     */
    public SettleReceivable selectSettleReceivableById(Integer id);

    /**
     * 查询外派收款明细列表
     * 
     * @param settleReceivable 外派收款明细
     * @return 外派收款明细集合
     */
    public List<SettleReceivable> selectSettleReceivableList(SettleReceivable settleReceivable);

    /**
     * 新增外派收款明细
     * 
     * @param settleReceivable 外派收款明细
     * @return 结果
     */
    public int insertSettleReceivable(SettleReceivable settleReceivable);

    /**
     * 修改外派收款明细
     * 
     * @param settleReceivable 外派收款明细
     * @return 结果
     */
    public int updateSettleReceivable(SettleReceivable settleReceivable);

    /**
     * 批量删除外派收款明细
     * 
     * @param ids 需要删除的外派收款明细主键集合
     * @return 结果
     */
    public int deleteSettleReceivableByIds(String ids);

    /**
     * 删除外派收款明细信息
     * 
     * @param id 外派收款明细主键
     * @return 结果
     */
    public int deleteSettleReceivableById(Integer id);

    public List<SettleReceivable> selectSettleReceivableByPlanId(Integer planId);
}
